package com.qianyu.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.MaterialInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianyu.project.mapper.provider.mfy.MaterialInfoProvider;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 * 材料基础库 Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface MaterialInfoMapper extends BaseMapper<MaterialInfo> {

    @SelectProvider(method = "MfyCreatedList",type = MaterialInfoProvider.class)
    IPage<MaterialInfo> MfyCreatedList(IPage<MaterialInfo> page, Map<String, String> params);
}
